package com.esp.soccertutor.animation;

import android.view.View;
import android.view.animation.Animation;

public final class DisplayNextView implements Animation.AnimationListener {
	private boolean mCurrentView;
	View scroll1;
	View scroll2;

	public DisplayNextView(boolean currentView, View textScroll, View textScroll2) {
		mCurrentView = currentView;
		this.scroll1 = textScroll;
		this.scroll2 = textScroll2;
	}

	public void onAnimationStart(Animation animation) {
	}

	public void onAnimationEnd(Animation animation) {
		scroll1.post(new SwapViews(mCurrentView, scroll1, scroll2));
	}

	public void onAnimationRepeat(Animation animation) {
	}
}